<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <!-- 公共的CSS -->
    <div th:replace="/common/common_res_header :: res_header"></div>
    <!-- 某个页面自定义的CSS相关引入文件 -->
    <div layout:fragment="data_res_header"></div>
</head>
<body>
<script th:inline="javascript">
    var contextPath = [[${contextPath}]];
</script>

<!-- 页面头部 -->
<div th:replace="/common/header :: header"></div>

<!-- 页面主体 -->
<div layout:fragment="main"></div>

<!-- 页面底部 -->
<div th:replace="/common/footer :: footer"></div>

<!-- 公共的JS -->
<div th:replace="/common/common_res_footer :: res_footer"></div>
<!-- 某个页面自定义的JS相关引入文件 -->
<div layout:fragment="data_res_footer"></div>
</body>
</html>